﻿using System;
using winS.Unity.Process;

namespace winS.UnityEditor.ProcessEditor
{
    /// <summary>
    /// 指示被修饰的 <see cref="ProcessEditor"/> 的子编辑器应该和哪种 <see cref="Process"/> 的子流程关联
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class CustomProcessEditorAttribute : Attribute
    {
        public readonly string extension;

        public CustomProcessEditorAttribute(string extension)
        {
            this.extension = extension;
        }
    }
}